package org.rescue.analysis.summarize;

import javax.swing.tree.DefaultMutableTreeNode;

import org.rescue.analysis.AnalysisOperation;
import org.rescue.analysis.AnalysisResult;
import org.rescue.search.*;


/**
 * 
 *
 */
public class SummarizeAnalysis implements AnalysisOperation {

	public AnalysisResult analyze(Dataset dataset, int k) {

		AnalysisResult r = new AnalysisResult();
		
		GreedySummarizor summarizor = new GreedySummarizor();
		
		DefaultMutableTreeNode t = dataset.getTaxonomy();	
		
	//	r.setResultTree(summarizor.summarize(t,k));
			
		return r;
		
	}
}
